/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.menosehmais.framework.security.role;

import br.com.menosehmais.framework.persistence.DomainObject;
import javax.persistence.Column;

/**
 *
 * @author Rafael Quintino
 */
public abstract class Role extends DomainObject {

    @Column(unique = true, updatable = false)
    public String getName(){
        return this.getClass().getSimpleName();
    }
}
